package com.github.iot.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 展柜
 *
 * @Author: 梁声洪
 * @Date: 2019/12/11 20:25
 * @Version: v1.0.0
 */
@Entity
public class Showcase {

    /**
     * 主键ID
     */
    @Id(autoincrement = true)
    private Long id;

    /**
     * 展厅ID
     */
    @NotNull
    private Long showroomId;

    /**
     * 展柜名称
     */
    @NotNull
    private String name;

    /**
     * 地址
     */
    @NotNull
    private Integer address;

    /**
     * 排序
     */
    @NotNull
    private Integer sort;

    @Generated(hash = 1838984570)
    public Showcase(Long id, @NotNull Long showroomId, @NotNull String name,
            @NotNull Integer address, @NotNull Integer sort) {
        this.id = id;
        this.showroomId = showroomId;
        this.name = name;
        this.address = address;
        this.sort = sort;
    }

    @Generated(hash = 939532297)
    public Showcase() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShowroomId() {
        return this.showroomId;
    }

    public void setShowroomId(Long showroomId) {
        this.showroomId = showroomId;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getAddress() {
        return this.address;
    }

    public void setAddress(Integer address) {
        this.address = address;
    }

}